import {Product} from "../entity/product";
/**
 * Created by Administrator on 2016/8/4.
 */
export class ProductService{
    getAll():Product[]{
        var productList = [
            {"name":"手机","price":2300.0},
            {"name":"电脑","price":4500.0},
            {"name":"洗衣机","price":2400.0},
            {"name":"空调","price":3200.0},
            {"name":"冰箱","price":2500.0}
        ];
        return productList;
    }
}